<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    let num = 123
    console.log(typeof num);
    let str1 = 'jar'
    console.log(typeof str1);
    let str2 = '10'
    console.log(typeof str2);
    let obj = null
    console.log(typeof obj);
    let un
    console.log(typeof un);
    let flag = true
    console.log(typeof flag);
    
    let num1 = prompt('请输入一个数字')
    console.log(typeof num1);
  </script>
</body>
</html>